08. The Machine Learning Pipeline is Iterative
PRTDM2-785 AI Trading C2 L1 Vid10 Machine Learning Pipeline
Understanding the Machine Learning Pipeline
Machine learning (ML) involves a structured pipeline, but it's pivotal to understand it isn't a linear path. The pipeline is adaptable, allowing revisiting steps for refinement:
Model Performance: Unsatisfactory model results often necessitate revisiting stages.
- Assess earlier processes, such as an initial approach to data preprocessing.
- Consider alternative methods, like different filling strategies for missing data.
Data Reassessment: Inadequate performance can indicate the need to revisit data ingestion.
- Introduce new data variables.
- Engineer additional features for overlooked patterns.
Algorithm Selection: Initial algorithm choice might underperform.
- Re-evaluate baseline models to select a more promising approach.
Embrace flexibility and openness in the development stages to ensure crafting the most effective model. Reassessing and modifying previous steps is often necessary to optimize model performance for each unique case.
SOLUTION:
- To ensure that the data preprocessing methods did not introduce biases.
- To analyze the initial data sources and improve feature selection, data preprocessing, and feature engineering.
- To add additional features or data that could enhance model performance.